package com.tz.dream.architect.mvp;

import android.os.Bundle;
import android.support.annotation.NonNull;

import com.tz.dream.architect.mvp.framework.support.viewstate.RestorableViewState;
import com.tz.dream.architect.mvp.login.LoginView;

/**
 * 作者: Dream on 2018/4/20 22:27
 * QQ:510278658
 * E-mail:510278658@qq.com
 */

public class LoginViewState implements RestorableViewState<LoginView> {

    @Override
    public void apply(LoginView view, boolean retained) {
        view.onLoginResult("");
    }

    @Override
    public void onSaveInstanceState(@NonNull Bundle outState) {

    }

    @Override
    public RestorableViewState<LoginView> onRestoreInstanceState(Bundle inState) {
        return null;
    }
}


